<!--
描述：教学管理-班级管理-班级查询
开发人：hqj
开发日期：2018年08月10日
-->
<template lang="pug">
    kalix-search(title="班级查询" v-bind:searchFields="searchFields")
</template>

<script type="text/ecmascript-6">
    import {gradeURL, majorInfoURL} from '../../config.toml'

    export default {
        name: 'ClassInfoSearch',
        data() {
            return {
                searchFields: [
                    {label: '年级', prop: 'gradeId', type: 'object2', objectsUrl: gradeURL, fieldName: 'grade'},
                    {label: '专业', prop: 'majorId', type: 'object2', objectsUrl: majorInfoURL, fieldName: 'cnName'},
                    {label: '班级名称', prop: 'name'}
                ]
            }
        },
        created() {
        },
        methods: {}
    }
</script>

<style scoped lang="stylus" type="text/stylus">
</style>
